package com.example.testsystem;

import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.SeekBar;

public class MainActivity extends Activity {
    private static final String TAG = "TestSystemMain";
    private Button btnNetwork;
    private Button btnWifi;
    private Button btnBluetooth;
    private Button btnCarAudioPage;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        btnNetwork = findViewById(R.id.btn_Network);
        btnNetwork.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Log.i(TAG, "btnNetwork click...");
                startActivity(new Intent(MainActivity.this, NetworkActivity.class));
            }
        });

        btnWifi = findViewById(R.id.btn_WIFI);
        btnWifi.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Log.i(TAG, "btnWifi click wqy+++...");
                startActivity(new Intent(MainActivity.this, WifiActivity.class));
            }
        });

        btnBluetooth = findViewById(R.id.btn_Bluetooth);
        btnBluetooth.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Log.i(TAG, "btnBluetooth click...");
            }
        });

        btnCarAudioPage = findViewById(R.id.btn_CarAudioPage);
        btnCarAudioPage.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Log.i(TAG, "btnCarAudioPage click...");
                startActivity(new Intent(MainActivity.this, CarAudioActivity.class));
            }
        });
    }
}